package com.site.wisdom_construction.entity.iotModule;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * @Description  
 * @Author  DYF
 * @Date 2022-01-21 
 */
@ApiModel (value ="萤石云信息表实体类",description = "MonitorMessage")
public class MonitorMessage {
	/**
	 * 萤石云信息表id
	 */
   	@ApiModelProperty(value = "萤石云信息表id", name = "id")
	private Integer id;

	/**
	 * 监控项目名称
	 */
   	@ApiModelProperty(value = "监控项目名称", name = "monitorName")
	private String monitorName;

	/**
	 * 萤石云appKey
	 */
   	@ApiModelProperty(value = "萤石云appKey", name = "appKey")
	private String appKey;

	/**
	 * 萤石云appSecret
	 */
   	@ApiModelProperty(value = "萤石云appSecret", name = "appSecret")
	private String appSecret;

	/**
	 * 获取的accessToken
	 */
   	@ApiModelProperty(value = "获取的accessToken", name = "accessToken")
	private String accessToken;

	/**
	 * 具体过期时间，精确到毫秒
	 */
   	@ApiModelProperty(value = "具体过期时间，精确到毫秒", name = "expireTimes")
	private Long expireTimes;

	public MonitorMessage(){ super(); }

	public MonitorMessage(Integer id, String monitorName, String appKey, String appSecret, String accessToken, Long expireTimes) {
		this.id = id;
		this.monitorName = monitorName;
		this.appKey = appKey;
		this.appSecret = appSecret;
		this.accessToken = accessToken;
		this.expireTimes = expireTimes;
	}

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getMonitorName() {
		return monitorName;
	}

	public void setMonitorName(String monitorName) {
		this.monitorName = monitorName;
	}

	public String getAppKey() {
		return appKey;
	}

	public void setAppKey(String appKey) {
		this.appKey = appKey;
	}

	public String getAppSecret() {
		return appSecret;
	}

	public void setAppSecret(String appSecret) {
		this.appSecret = appSecret;
	}

	public String getAccessToken() {
		return accessToken;
	}

	public void setAccessToken(String accessToken) {
		this.accessToken = accessToken;
	}

	public Long getExpireTimes() {
		return expireTimes;
	}

	public void setExpireTimes(Long expireTimes) {
		this.expireTimes = expireTimes;
	}

	@Override
	public String toString() {
		return "{" +
				"id=" + id +
				", monitorName='" + monitorName + '\'' +
				", appKey='" + appKey + '\'' +
				", appSecret='" + appSecret + '\'' +
				", accessToken='" + accessToken + '\'' +
				", expireTimes=" + expireTimes +
				'}';
	}
}
